﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Coldairarrow.Entity.Interface
{
    /// <summary>
    /// 众包仓库信息
    /// </summary>
    /// 
    public class PL_WarehouseDTO
    {
        public int code { get; set; }
        public string message { get; set; }
        public List<PL_Warehouse> data { get; set; }


    }

    public class PL_Warehouse
    {
        /// <summary>
        /// 
        /// </summary>
        public string ID { get; set; }
        public string RowId { get; set; }


        /// <summary>
        /// 仓库名称
        /// </summary>
        public string warehous_name { get; set; }
        /// <summary>
        /// 仓库代码
        /// </summary>
        public string warehous_code { get; set; }
        /// <summary>
        /// 物流渠道列表
        /// </summary>
        public List<Cchannel_List> channel_list { get; set; }


        public class  Cchannel_List
        {
            /// <summary>
            /// 渠道名称
            /// </summary>
            public string name { get; set; }
            /// <summary>
            /// 渠道代码
            /// </summary>
            public string code { get; set; }
            /// <summary>
            /// 承运商代码
            /// </summary>
            public string carrier_code { get; set; }

        }

    }

}
